# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenEXR Project.

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

set(openexr_needthreads @OPENEXR_ENABLE_THREADING@)
if (openexr_needthreads)
  set(THREADS_PREFER_PTHREAD_FLAG ON)
  find_dependency(Threads REQUIRED)
endif()
unset(openexr_needthreads)

find_dependency(Imath REQUIRED)

include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")
